home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / THINKC / TCL1 / CLINKEDL / CLINKEDL.H next >
Text File  |  1989-10-24  |  634b  |  30 lines

  1. /****
  2.  * CLinkedListDoc.h
  3.  *
  4.  *    Document class for a typical application.
  5.  *
  6.  ****/
  7.  
  8. #define    _H_CLinkedListDoc            /* Include this file only once */
  9. #include <CDocument.h>
  10.  
  11. struct CLinkedListDoc : CDocument {
  12.  
  13.                                     /** Construction/Destruction **/
  14.     void        ILinkedListDoc(CBureaucrat *aSupervisor, Boolean printable);
  15.     void        Dispose();
  16.  
  17.     void        DoCommand(long theCommand);
  18.  
  19.     void        Activate(void);
  20.     void        Deactivate(void);
  21.  
  22.     void        NewFile(void);
  23.     void        OpenFile(SFReply *macSFReply);
  24.     void        BuildWindow(Handle theData);
  25.     
  26.                                     /** Filing **/
  27.     Boolean        DoSave(void);
  28.     Boolean        DoSaveAs(SFReply *macSFReply);
  29.     void        DoRevert(void);
  30. };